<?php
	class RulesDao extends BaseDao {

		public function __construct($dns, $username, $password) {
			parent::__construct($dns, $username, $password);

			$this->mapping = new Mapping("Rules", "t_rules", array("idRules"),
				array("idRules","league","title","content","updated","number"),
				array("id_rules","id_league","title","content","updated","number")
			);
		}

}